﻿@model List<OPLWeb.Models.Fixture>
<div class="module content htmlModule" id="nextgame-gadget">
    <div class="module-header">
        <h3>
            Next Game
        </h3>
    </div>
    <div class="module-body">
        <div class="module-body-detail">
            <ul class="content-list">
                @foreach (var item in Model)
                {
                    <li><a href="/Results/index/@item.Id">
                        <div class="cl-main">
                            <img src="@Url.Content("~/content/images/content-list-icon-match-report.png")"
                                alt="" width="32" height="32" />
                            <h5 style="padding: 0; margin: 13px;">
                                @item.Team.TeamName&nbsp;vs.&nbsp;@item.Team1.TeamName</h5>
                            <span>@item.Date</span><br />
                        </div>
                    </a></li> 
                }
            </ul>
        </div>
    </div>
    <div class="module-footer">
        <a href="/Fixtures/Index/@ViewBag.CurrentSeason">Fixtures</a>
    </div>
</div>
